import {
    ajaxSet
} from "@/utils/ajax";
import prefixAPI from "@/api/prefixAPI"; // prefixAPI 前缀
const url = prefixAPI.pack;
const api = {
    //菜单
    getUserMenus: {
        type: 'post',
        url: url + '/getUserMenus'
    },
    //区域树获取用户信息
    getCompanyByUser: {
        type: 'post',
        url: url + '/company/getCompanyByUser'
    },
    //层级区域树
    getCompanyByLvl: {
        type: 'get',
        url: url + '/company/getCompanyByLvl'
    },
    //指标大类
    getIndexBroadClass: {
        type: 'post',
        url: url + '/indexController/getIndexBroadClass'
    },
    //指标类型
    getIndexType: {
        type: 'post',
        url: url + '/indexController/getIndexType'
    },
    //指标小类
    getIndexSubClass: {
        type: 'post',
        url: url + '/indexController/getIndexSubClass'
    },
    //区域树获取用户信息
    listIndexData: {
        type: 'post',
        url: url + '/indexController/listIndexData'
    },
    //指标名称模糊搜索
    searchIndexName: {
        type: 'post',
        url: url + '/indexController/searchIndexName'
    },


    //指引列表
    getGuideList: {
        type: 'post',
        url: url + '/guide/list'
    },
    //删除指引
    delGuide: {
        type: 'post',
        url: url + '/guide/deleteGuide'
    },
    //删除指引
    release: {
        type: 'post',
        url: url + '/guide/release'
    },
    //指引导出
    guideExport: {
        type: 'get',
        url: url + '/guide/export'
    },
    //指引详情
    guideDetail: {
        type: 'post',
        url: url + '/guide/detail'
    },
    //指引详情
    indexDataTrend: {
        type: 'post',
        url: url + '/indexController/indexDataTrend'
    },
    //获取指引大小类
    listBroadClassAndIndex: {
        type: 'post',
        url: url + '/guide/listBroadClassAndIndex'
    },
    //根据指标小类查询该指标年份的指标值接口
    childClassByIndex: {
        type: 'post',
        url: url + '/guide/childClassByIndex'
    },
    //根据指标小类查询该指标年份的指标值接口
    exportGuideLineTemplate: {
        type: 'get',
        url: url + '/guide/exportGuideLineTemplate'
    },
    //指标附件下载
    downloadFiles: {
        type: 'get',
        url: url + '/guide/downloadFiles'
    },
    //发布、保存并生成
    saveOrRelease: {
        type: 'post',
        url: url + '/guide/saveOrRelease'
    },
    //修改、保存并生成
    updateOrRelease: {
        type: 'post',
        url: url + '/guide/updateOrRelease'
    },
    //指引指标数据导入
    importTarget: {
        type: 'post',
        url: url + '/guide/importTarget'
    },
    //指引修改详情
    updateDetail: {
        type: 'post',
        url: url + '/guide/updateDetail'
    },


    //编制文件年份获取
    getYear: {
        type: 'post',
        url: url + '/bottomUpEdit/getYear'
    },
    //编制文件年份获取
    listEditFile: {
        type: 'post',
        url: url + '/bottomUpEdit/listEditFile'
    },
    //查看编制
    showEditData: {
        type: 'post',
        url: url + '/bottomUpEdit/showEditData'
    },
    //查看编制区域下的数据
    getSubEditData: {
        type: 'post',
        url: url + '/bottomUpEdit/getSubEditData'
    },
    //编制提交
    submitEdit: {
        type: 'post',
        url: url + '/bottomUpEdit/submitEdit',
    },
    //编制克隆
    clone: {
        type: 'post',
        url: url + '/bottomUpEdit/clone',
    },
    //新建编制测算
    calculation: {
        type: 'post',
        url: url + '/bottomUpEdit/calculation',
    },
    //保存编制
    checkAndSaveEdit: {
        type: 'post',
        url: url + '/bottomUpEdit/checkAndSaveEdit',
    },
    //修改编制
    updateEdit: {
        type: 'post',
        url: url + '/bottomUpEdit/updateEdit',
    },
    //审核编制
    showExamData: {
        type: 'post',
        url: url + '/bottomUpEdit/showExamData',
    },
    //审核编制
    examine: {
        type: 'post',
        url: url + '/bottomUpEdit/examine',
    },
    //新建编制的年份
    getCurrentYear: {
        type: 'post',
        url: url + '/bottomUpEdit/getCurrentYear',
    },
    //编制删除
    deleteEdit: {
        type: 'post',
        url: url + '/bottomUpEdit/deleteEdit',
    },
    //新建编制数据展示
    showEditInfo: {
        type: 'post',
        url: url + '/bottomUpEdit/showEditInfo'
    },
    // TobtoC下  分区域跟踪
    getMainlistResourceData: {
        type: 'post',
        url: url + '/mainCampIncome/listResourceData'
    },
    // TobtoC下 趋势跟踪
    getlistResourceData: {
        type: 'post',
        url: url + '/mainIncomeTrack/listResourceData'
    },
    //预算分tab页
    getReleaseDataBySheet: {
        type: 'post',
        url: url + '/release/getReleaseDataBySheet'
    },
    //下达记录
    getReleaseRecordRs: {
        type: 'post',
        url: url + '/release/getReleaseRecordRs'
    },
    //自服务下达记录
    getReleaseRecordRsAuto: {
        type: 'post',
        url: url + '/releaseAuto/getReleaseRecordRs'
    },
    //预算下达
    getList: {
        type: 'post',
        url: url + '/release/list'
    },
    //预算下达（自服务）
    getList2: {
        type: 'post',
        url: url + '/releaseAuto/list'
    },
    //预算删除
    doDelete: {
        type: 'post',
        url: url + '/release/doDelete'
    },
    //预算下达（自服务）
    doDelete2: {
        type: 'post',
        url: url + '/releaseAuto/doDelete'
    },

    // 预算下达(新版)
    //预算下达
    doRelease: {
        type: 'post',
        url: url + '/releaseNew/doRelease'
    },
    //自服务预算下达
    doRelease2: {
        type: 'post',
        url: url + '/releaseAuto/doRelease'
    },
    //预算下达详情记录列表
    getReleaseRecord: {
        type: 'post',
        url: url + '/releaseNew/getReleaseRecord'
    },

    // 预算下达(第三版)
    // 预算下达详情记录列表
    getReleaseRecordThree: {
        type: 'post',
        url: url + '/releaseSecond/getReleaseRecord'
    },
    // 预算下达(自服务)详情记录列表
    getReleaseRecordAuto: {
        type: 'post',
        url: url + '/releaseAuto/getReleaseRecord'
    },


    //业务量指标分产品
    findBusinessIndex: {
        type: 'post',
        url: url + '/budgetTrack/findBusinessIndex'
    },
    //业务量指标分渠道
    findBusinessIndexCust: {
        type: 'post',
        url: url + '/budgetTrack/findBusinessIndexCust'
    },
    //业务量指标新增趋势
    findBusinessIndexNewly: {
        type: 'post',
        url: url + '/budgetTrack/findBusinessIndexNewly'
    },
    //业务量指标分产品
    findBusinessIndexGrowth: {
        type: 'post',
        url: url + '/budgetTrack/findBusinessIndexGrowth'
    },

    // 业务量指标  移动-分渠道
    findMobileIndexByChannel: {
        type: 'post',
        url: url + '/budgetTrack/findMobileIndexByChannel'
    },
    // 业务量指标  宽带-分渠道
    findEntityIndexByChannel: {
        type: 'post',
        url: url + '/budgetTrack/findEntityIndexByChannel'
    },
    // 业务量指标  天翼高清-分渠道
    findTianyiHighIndexByChannel: {
        type: 'post',
        url: url + '/budgetTrack/findTianyiHighIndexByChannel'
    },
    // 业务量质态报表
    getMonth: {
        type: 'post',
        url: url + '/UserQualityReport/getMonth'
    },
    // 业务量质态报表分账期
    getUserQualityListByAreaId: {
        type: 'post',
        url: url + '/UserQualityReport/getUserQualityListByAreaId'
    },

    // 业务量质态报表分区域
    getUserQualityListByAcctMonth: {
        type: 'post',
        url: url + '/UserQualityReport/getUserQualityListByAcctMonth'
    },



    //预测验证 测算
    budgetTestTest: {
        type: 'post',
        url: url + '/test/test'
    },

    //预测验证 预测验证列表
    budgetTestList: {
        type: 'post',
        url: url + '/test/list'
    },

    //预测验证 删除
    budgetTestDelete: {
        type: 'post',
        url: url + '/test/delete'
    },

    //预测验证 详情
    budgetTestDetail: {
        type: 'post',
        url: url + '/test/detail'
    },

    //预测验证 修改保存
    budgetTestUpdate: {
        type: 'post',
        url: url + '/test/update'
    },

    //预测验证 根据区域id和测算年度查询详情
    budgetTestDetaiByYear: {
        type: 'post',
        url: url + '/test/getDetailByAreaIdAndYear'
    },

    //预测验证 新建保存接口
    budgetTestSave: {
        type: 'post',
        url: url + '/test/save'
    },

    //自上而下空间预测  列表
    decomposeList: {
        type: 'post',
        url: url + '/decompose/list'
    },

    //自上而下空间预测  删除
    decomposeDelete: {
        type: 'post',
        url: url + '/decompose/delete'
    },
    //自上而下空间预测  新建预测初始化列表
    getTotalInitData: {
        type: 'post',
        url: url + '/decompose/getTotalInitData'
    },
    //自上而下的编制  获取年份
    getBudgetYear: {
        type: 'post',
        url: url + '/budgetIncomeSecond/getBudgetYear'
    },


    //自上而下趋势预测  获取年份
    upBottomTrendGetYear: {
        type: 'post',
        url: url + '/upBottomTrend/getYear'
    },

    //自上而下趋势预测  列表展示
    upBottomTrendListTrandData: {
        type: 'post',
        url: url + '/upBottomTrend/listTrendData'
    },





    // 收入跟踪   分区域查询
    incomeTrackFindByArea: {
        type: 'post',
        url: url + '/incomeTrack/findIncomeDataByArea'
    },

    // 收入跟踪   分区域趋势跟踪
    findIncomeByAreaTrend: {
        type: 'post',
        url: url + '/incomeTrack/findIncomeByAreaTrend'
    },

    // // 收入跟踪   分产品分专业
    // findIncomeByProduct: {
    //     type: 'post',
    //     url: url + '/incomeTrack/findIncomeByProduct'
    // },
    // 收入跟踪   分产品分专业趋势跟踪查询
    // findIncomeByProductTrend: {
    //     type: 'post',
    //     url: url + '/incomeTrack/findIncomeByProductTrend'
    // },

    // 收入跟踪   分收入来源趋势跟踪
    findIncomeTrendBySource: {
        type: 'post',
        url: url + '/incomeTrack/findIncomeTrendBySource'
    },

    // 收入跟踪  分收入来源趋势跟踪 新
    findNewIncomeTrendBySource: {
        type: 'post',
        url: url + '/incomeAndIncomeSource/getIncomeAndIncomeSourceList'
    },
    // 销售费用跟踪   分收入来源趋势跟踪
    findIncomeTrendSale: {
        type: 'post',
        url: url + '/incomeTrack/findIncomeTrendSale'
    },

    // 分套餐
    findIncomeMealPart: {
        type: 'post',
        url: url + '/incomeTrack/findIncomeMealPart'
    },

    // 分套餐（改）
    findIncomeSecondMealPart: {
        type: 'post',

        url: url + '/incomeTrack/findIncomeSecondMealPart'
    },
    // 分产品 POST
    getMainUserArpuDataList: {
        type: 'post',
        url: url + '/mainUserArpu/getMainUserArpuDataList'
    },
    // 收入预估获取账期
    getFcDate: {
        type: 'post',
        url: url + '/incomeForecast/getFcDate'
    },
    // 收入预估获取列表
    listTrendData: {
        type: 'post',
        url: url + '/incomeForecast/listTrendData'
    },

    //收入预估 计费系统日账
    dailyAccountGetList: {
        type: 'post',
        url: url + '/dailyAccount/getList'
    },
    //收入预估 计费系统日账2
    dailyAccountGetList2: {
        type: 'post',
        url: url + '/dailySecondAccount/getList'
    },

    // 导入预估获取数据
    listImportFileData: {
        type: 'post',
        url: url + '/incomeForecast/listImportFileData'
    },
    // 导入记录列表
    listFileData: {
        type: 'post',
        url: url + '/incomeForecast/listFileData'
    },
    // 删除记录
    deleteImportFile: {
        type: 'post',
        url: url + '/incomeForecast/deleteImportFile'
    },

    // 自下而上编制数据展示
    listResourceData: {
        type: 'post',
        url: url + '/budgetIncome/listResourceData'
    },

    // 自下而上编制数据展示(新)
    listResourceDataNew: {
        type: 'post',
        url: url + '/budgetIncomeSecond/listResourceData'
    },
    // 自下而上编制数据(新)导出
    downloadBudgetIncomeDetail: {
        type: 'get',
        url: url + '/budgetIncomeDetail/downloadBudgetIncomeDetail'
    },
    // 展示列表
    listFileList: {
        type: 'post',
        url: url + '/budgetIncomeSecond/listFileList'
    },
    // 展示列表new
    listFileListNew: {
        type: 'post',
        url: url + '/budgetIncomeSecond/listFileListNew'
    },
    // 展示列表
    deleteFile: {
        type: 'post',
        url: url + '/budgetIncomeSecond/deleteFile'
    },

    // 工作台获取数据
    getData: {
        type: 'post',
        url: url + '/desk/getData'
    },
    // 工作台获取雷达图数据
    getRadarData: {
        type: 'post',
        url: url + '/desk/getRadarData'
    },
    // 工作台 雷达图数据点击后请求
    getRadarPicData: {
        type: 'post',
        url: url + '/desk/getRadarPicData'
    },
    // 工作台获取柱状图数据
    getLineData: {
        type: 'post',
        url: url + '/desk/getLineData'
    },
    // 工作台获取量收趋势
    getIncomeCompleteData: {
        type: 'post',
        url: url + '/desk/getIncomeCompleteData'
    },
    // 工作台获取量收趋势
    getBusinessDevelopTrendData: {
        type: 'post',
        url: url + '/desk/getBusinessDevelopTrendData'
    },
    // 获取收入构成分产品数据
    getIncomeProductStructData: {
        type: 'post',
        url: url + '/desk/getIncomeProductStructData'
    },
    // 获取业务量-移动数据
    getMobileBusinessStructData: {
        type: 'post',
        url: url + '/desk/getMobileBusinessStructData'
    },
    // 获取业务量-宽带数据
    getBroadHandBusinessStructData: {
        type: 'post',
        url: url + '/desk/getBroadHandBusinessStructData'
    },
    // 获取业务量-天翼高清数据
    getITVBusinessStructData: {
        type: 'post',
        url: url + '/desk/getITVBusinessStructData'
    },
    // 获取收入构成-分套餐数据
    getSetMealData: {
        type: 'post',
        url: url + '/desk/getSetMealData'
    },
    // 获取收入构成-分套餐数据
    getCustTypeNewData: {
        type: 'post',
        url: url + '/desk/getCustTypeNewData'
    },
    // 收入预估-区域累计数据
    getEstimateTotalData: {
        type: 'post',
        url: url + '/desk/getEstimateTotalData'
    },
    // 收入预估-分产品数据
    getEstimateProductData: {
        type: 'post',
        url: url + '/desk/getEstimateProductData'
    },
    // 收入预估-分产品表头
    getIncomeEstimateTitles: {
        type: 'post',
        url: url + '/desk/getIncomeEstimateTitles'
    },
    // 通信主业明细表（新方案）
    mainCampDetail: {
        type: 'post',
        url: url + '/mainCampDetailController/listResourceData'
    },
    // 总体经营评价
    getOperationEvaluationData: {
        type: 'post',
        url: url + '/evaluation/getOperationEvaluationData'
    },
    // 获取收入预估数据
    getIncomeEstimateData: {
        type: 'post',
        url: url + '/desk/getIncomeEstimateData'
    },
    // 明细数据表格数据
    listResourceDetailData: {
        type: 'post',
        url: url + '/budgetIncomeDetail/listResourceData'
    },
    // 预算编制汇总
    compilationSummary: {
        type: 'post',
        url: url + '/budgetIncomeForecastThree/listResourceData'
    },

    // 总体经营评价获取最大账期
    getMaxAcctMonth: {
        type: 'post',
        url: url + '/evaluation/getMaxAcctMonth'
    },
    // 业务量指标-分产品最大账期
    getProMaxAcctMonth: {
        type: 'post',
        url: url + '/budgetTrack/getProMaxAcctMonth'
    },
    // 业务量指标-获取分渠道最大账期
    getCustMaxAcctMonth: {
        type: 'post',
        url: url + '/budgetTrack/getCustMaxAcctMonth'
    },
    //收入跟踪-获取最大账期分区域
    getMaxAcctMonthByArea: {
        type: 'post',
        url: url + '/incomeTrack/getMaxAcctMonthByArea'
    },
    //收入跟踪- 分产品分专业最大日期
    // getMaxAcctMonthByPro: {
    //     type: 'post',
    //     url: url + '/incomeTrack/getMaxAcctMonthByPro'
    // },
    //收入跟-分套餐最大日期
    getMaxAcctMonthByMealPart: {
        type: 'post',
        url: url + '/incomeTrack/getMaxAcctMonthByMealPart'
    },
    //销售费用跟踪-获取最大日期
    getMaxAcctMonthBySell: {
        type: 'post',
        url: url + '/incomeTrack/getMaxAcctMonthBySell'
    },
    //通信主页-获取最大账期
    getMaxAcctMonthByCampDetail: {
        type: 'post',
        url: url + '/mainCampDetailController/getMaxAcctMonthByCampDetail'
    },
    //获取最大账期-收入预估
    getMaxAcctMonthByIncomeForecast: {
        type: 'post',
        url: url + '/incomeForecast/getMaxAcctMonthByIncomeForecast'
    },
    // 获取最大账期-计费系统日账
    getMaxAcctMonthByDailyAccount: {
        type: 'post',
        url: url + '/dailyAccount/getMaxAcctMonthByDailyAccount'
    },
    // 获取最大账期-计费系统日账2
    getMaxAcctMonthByDailyAccount2: {
        type: 'post',
        url: url + '/dailySecondAccount/getMaxAcctMonthByDailyAccount'
    },
    //获取最大账期-导入预估
    getMaxAcctMonthByImportForecast: {
        type: 'post',
        url: url + '/incomeForecast/getMaxAcctMonthByImportForecast'
    },
    //列表-当前区域某时间段数据
    getCorePlatformIncomeListByAreaId: {
        type: 'post',
        url: url + '/corePlatform/getCorePlatformIncomeListByAreaId'
    },
    // 列表-当前账期当前区域下级数据
    getCorePlatformIncomeListByAcctMonth: {
        type: 'post',
        url: url + '/corePlatform/getCorePlatformIncomeListByAcctMonth'
    },
    // 列表-获取最新账期
    getNewAcctMonth: {
        type: 'post',
        url: url + '/corePlatform/getNewAcctMonth'
    },
    // 列表-获取下达跟踪列表
    getReleaseTrackData: {
        type: 'post',
        url: url + '/releaseTrack/getReleaseTrackData'
    },
    // 列表-获取下达跟踪列表自服务
    getReleaseTrackDataAuto: {
        type: 'post',
        url: url + '/releaseTrackAuto/getReleaseTrackData'
    },
    // 获取下达跟踪类别
    getTrackType: {
        type: 'post',
        url: url + '/releaseTrack/getTrackType'
    },
    // 获取下达跟踪类别
    getTrackTypeAuto: {
        type: 'post',
        url: url + '/releaseTrackAuto/getTrackType'
    },
    // 获取下达跟踪最大账期
    getMaxMonthByTrackType: {
        type: 'post',
        url: url + '/releaseTrack/getMaxMonthByTrackType'
    },
    // 获取下达跟踪最大账期自服务
    getMaxMonthByTrackTypeAuto: {
        type: 'post',
        url: url + '/releaseTrackAuto/getMaxMonthByTrackType'
    },
    // 工作台接口 - 获取主营数据接口
    getMainOperationIncomeData: {
        type: 'post',
        url: url + '/desk/getMainOperationIncomeData'
    },
    // 经营分析 - 总体经营
    getTotalOperation: {
        type: 'post',
        url: url + '/marketOperation/getTotalOperation'
    },
    // 经营分析 - 主营收入
    getMainCampIncome: {
        type: 'post',
        url: url + '/marketOperation/getMainCampIncome'
    },
    // 经营分析 - 获取总体经营情况
    getTotalMarketOperationSituation: {
        type: 'post',
        url: url + '/marketOperation/getTotalMarketOperationSituation'
    },
    //获取数据-分公司收入完成情况
    getCompanyIncomeComplete: {
        type: 'post',
        url: url + '/marketOperation/getCompanyIncomeComplete'
    },
    //获取数据-核心平台收入环比趋势(分账期)
    getTrendDataByAccMonth: {
        type: 'post',
        url: url + '/codeNumberCorePlatform/getTrendDataByAccMonth'
    },
    //获取数据-核心平台收入环比趋势(分区域)
    getTrendDataByArea: {
        type: 'post',
        url: url + '/codeNumberCorePlatform/getTrendDataByArea'
    },
    //获取数据-移动业务发展
    getMobileServiceData: {
        type: 'post',
        url: url + '/codeNumberCorePlatform/getMobileServiceData'
    },
    //获取数据-宽带业务发展
    //  getBroadbandServiceData: {
    //    type:'post',
    //    url:url + '/codeNumberCorePlatform/getBroadbandServiceData'
    //  },
    //获取数据-宽带业务发展
    getBroadbandServiceData: {
        type: 'post',
        url: url + '/codeNumberCorePlatform/getBroadbandServiceData'
    },
    //获取数据-核心平台收入整体趋势第5张
    getAllData: {
        type: 'post',
        url: url + '/codeNumberCorePlatform/getAllData'
    },
    //分产品、分专业收入拉动情况
    getLdIncomeByProAndMajor: {
        type: 'post',
        url: url + '/marketOperation/getLdIncomeByProAndMajor'
    },

    //获取数据-县分公司码号核心平台收入
    getTrendDataByBranch: {
        type: 'post',
        url: url + '/codeNumberCorePlatform/getTrendDataByBranch'
    },
    //获取数据-分公司码号核心平台整体收入趋势
    getPlatformData: {
        type: 'post',
        url: url + '/codeNumberCorePlatform/getData'
    },
    //营销月报
    getMarketMonth: {
        type: 'post',
        url: url + '/marketingStatistics/getMonth'
    },
    getIncomeSourceMonth: {
        type: 'post',
        url: url + '/incomeAndIncomeSource/getMonth'
    },
    //营销月报分账期数据
    getAccMonthListData: {
        type: 'post',
        url: url + '/marketingStatistics/getAccMonthListData'
    },
    //营销月报分区域数据
    getAreaListData: {
        type: 'post',
        url: url + '/marketingStatistics/getAreaListData'
    },

    //工作台
    getMainIncomeReportData: {
        type: 'post',
        url: url + '/desk/getMainIncomeReportData'
    },
    getMainDevByIndexCode: {
        type: 'post',
        url: url + '/desk/getMainDevByIndexCode'
    },
    //收入完成-疑似养卡-获取账期
    suspectedGetMaxAcctMonth: {
        type: 'post',
        url: url + '/suspectedCard/getMaxAcctMonth'
    },
    //收入完成-疑似养卡-列表数据
    suspectedGetList: {
        type: 'post',
        url: url + '/suspectedCard/getList'
    },
    //经营分析-专题分析-横向收入列表
    budgetHorizontalIncome: {
        type: 'post',
        url: url + '/budgetHorizontalIncome/listResourceData'
    },
    //   // 批量导出
    // downloadBatch:{
    //     type:'get',
    //     url:url + '/summarySecondReport/downloadBatch'
    // },
    //知识共享获取树形分类
    budgetShare: {
        type: 'post',
        url: url + '/sharedFiles/getAreaTree'
    },
    //知识共享获取列表
    budgetShareList: {
        type: 'post',
        url: url + '/sharedFiles/getFileList'
    },
    //知识共享上传汇上搜索
    budgetShareUpload: {
        type: 'post',
        url: url + '/sharedFiles/upLoadFilesStatistics'
    },
    //知识共享详情
    budgetShareDetail: {
        type: 'post',
        url: url + '/sharedFiles/getFilesInfo'
    },
    //下载知识共享文件
    downLoadAttachFile: {
        type: 'get',
        url: url + '/sharedFiles/downLoadAttachFile'
    },
    //知识共享添加文件
    budgetShareAdd: {
        type: 'post',
        url: url + '/sharedFiles/saveCatalogFiles',
        config: {
            headers: {
                'Content-Type': 'multipart/form-data',
                'authorization': 'Bearer SampleToken'
            }
        }
    },
    //知识共享编辑文件
    updateFilesInfo: {
        type: 'post',
        url: url + '/sharedFiles/updateFilesInfo',
        config: {
            headers: {
                'Content-Type': 'multipart/form-data',
                'authorization': 'Bearer SampleToken'
            }
        }
    },
    //知识共享文章发布
    releaseFiles: {
        type: 'post',
        url: url + '/sharedFiles/releaseFiles'
    },
    //知识共享获取详情页可选择区域树
    getDetailAreaTree: {
        type: 'post',
        url: url + '/sharedFiles/getDetailAreaTree'
    },
    //知识共享获取详情页可选择区域树
    shareDeleteFiles: {
        type: 'post',
        url: url + '/sharedFiles/deleteFiles'
    },
    // 我的共享
    myShareFiles: {
        type: 'post',
        url: url + '/sharedFiles/getMyShareFileList'
    },
    // 获取年份
    shareForyears: {
        type: 'post',
        url: url + '/sharedFiles/getFileYears'
    },
    // 县分量收完成经营通报
    countyIncome: {
        type: 'post',
        url: url + '/countyBranch/list'
    },
    // 县分量收完成经营通报 日期
    countyIncomeMonth: {
        type: 'post',
        url: url + '/countyBranch/getMonth'
    },
    // 季度考核
    assessment: {
        type: 'post',
        url: url + '/check/getCheckList'
    },
    // 考核办法
    ruleIntro: {
        type: 'post',
        url: url + '/check/getCheckRules'
    },
    assessmentMonth: {
        type: 'post',
        url: url + '/check/getMonth'
    },
    // 考核办法 日期接口
    ruleMonth: {
        type: 'post',
        url: url + '/check/getCheckRulesMonth'
    },
    // 考核导出下载
    downCheckActualTemplate: {
        type: 'post',
        url: url + '/check/downCheckActualTemplate'
    },
    // 考核导入上传
    importCheckData: {
        type: 'post',
        url: url + '/check/importCheckData'
    },
    // 收入低保-分区域
    incomeKeepRegional: {
        type: 'get',
        url: url + '/customerAnalysis/getIncomeByArea'
    },
    // 收入低保-分区域账期
    incomeKeepRegionalMonth: {
        type: 'get',
        url: url + '/customerAnalysis/getMonth'
    },
    // toB toC month
    toBtoCmonth: {
        type: 'post',
        url: url + '/mainCampIncome/getMonth'
    },
    // 收入保有-分区域趋势跟踪列表
    incomeKeepAfter: {
        type: 'post',
        url: url + '/customerAnalysis/getIncomeByAreaTrack'
    },
    // 收入保佑-分区域跟踪列表month
    incomeKeepAfterMonth: {
        type: 'post',
        url: url + '/customerAnalysis/getTrackMonths'
    },
    // 留言跟帖
    leavingMessage: {
        type: 'post',
        url: url + '/sharedFiles/leavingMessage'
    },
    // 回复跟帖
    replyMessage: {
        type: 'post',
        url: url + '/sharedFiles/replyMessage'
    },
    // 留言delete
    deleteMessage: {
        type: 'post',
        url: url + '/sharedFiles/removeMessage'
    },
    // 收入日账 日期
    incomeDailyTime: {
        type: 'post',
        url: url + '/dailyAccountReport/getMaxAccountDay'
    },
    incomeDaily: {
        type: 'post',
        url: url + '/dailyAccountReport/getDataList'
    },
    estimateMonth: {
        type: 'post',
        url: url + '/yuGu/getMaxAcctMonth'
    },
    estimate: {
        type: 'post',
        url: url + '/yuGu/getDataList'
    },
    estimeatSource: {
        type: 'post',
        url: url + '/yuGu/getIncomeSourceList'
    },
    estimeatSourceChild: {
        type: 'post',
        url: url + '/yuGu/getChildIncomeSourceList'
    },
    estimeatProductList: {
        type: 'post',
        url: url + '/yuGu/getProductList'
    },
    estimeatYuGuTime: {
        type: 'post',
        url: url + '/yuGu/getYuGuDateList'
    },
    incomeMirror: {
        type: 'post',
        url: url + '/drawPortrait/list'
    },
    incomeBasic: {
        type: 'post',
        url: url + '/drawPortrait/listDrawPortraitComplete'
    },
    incomeScore: {
        type: 'post',
        url: url + '/drawPortrait/listDrawPortraitScore'
    },
    // 横向收入 new
    incomeMain: {
        type: 'post',
        url: url + '/mainIncome/dataList'
    },
    incomeMainMonth: {
        type: 'post',
        url: url + '/mainIncome/getMainIncomeMaxMonth'
    },
    getSubTypeList: {
        type: 'post',
        url: url + '/sharedFiles/getSubTypeList'
    },
    // 协议ict
    getIncomeIct: {
        type: 'post',
        url: url + '/incomeICTCard/list'
    },
    getIncomeIctYear: {
        type: 'post',
        url: url + '/incomeICTCard/listByYear'
    },
    getIncomeSourceTree: {
        type: 'post',
        url: url + '/yuGu/getIncomeSourceTree'
    },
    getIncomeICTCard: {
        type: 'post',
        url: url + '/incomeICTCard/listCliquesNotice'
    },
    getIncomeDay: {
        type: 'post',
        url: url + '/dailyAccountReport/getIncomeDataList'
    },
    getDesk: {
        type: 'post',
        url: url + '/desk/getMainOperationIncomeData'
    },
    // 收入总视图
    getIncomeViewData: {
        type: 'get',
        url: url + '/incomeView/getIncomeViewData'
    },
    // 收入指标
    getIndexCodeList: {
        type: 'get',
        url: url + '/WaveTOPNController/getIndexCodeList'
    },
    // 收入指标
    getIncomeIndexCodeList: {
        type: 'post',
        url: url + '/incomeView/getIndexCodeList'
    },
    // 客户群、
    getCustomerGroup: {
        type: 'post',
        url: url + '/incomeView/getCustomerGroup'
    },
    // 存增量
    getStorage: {
        type: 'get',
        url: url + '/incomeView/getStorageIncrement'
    },
    // 当前区域判断
    getinitCompany: {
        type: 'post',
        url: url + '/company/initCompany '
    },

    // getgetCompanyByLvl: {
    //   type: 'get',
    //   url: url + '/company/getCompanyByLvl'
    // }

    // 获取用户信息
    getUserInfo: {
        type: 'post',
        url: url + '/getUserInfo'
    },
    // 收入完成初始化列表
    revenueCompletion: {
        type: 'get',
        url: url + '/incomeView/revenueCompletion'
    },
    // 存量环比分析清单初始化列表
    inventory: {
        type: 'get',
        url: url + '/incomeView/inventory'
    },
    // 存量环比分析初始化列表
    inventoryReport: {
        type: 'get',
        url: url + '/incomeView/inventoryReport'
    },
    // 村社区级收入清单
    incomeOrder: {
        type: 'get',
        url: url + '/incomeView/communityList'
    },
    // 波动TOPN:
    waveTOPN: {
        type: 'get',
        url: url + '/WaveTOPNController/getNewlyAdded'
    },
    // VIPRevenue:
    VIPRevenue: {
        type: 'get',
        url: url + '/SqlReportController/VIPRevenue'
    },
    VIPRevenueBak: {
        type: 'get',
        url: url + '/governmentCust/getCustomerViewSumData'
    },
    // 审核列表
    getrestoreImportList: {
        type: 'get',
        url: url + '/RevenueRecoveryController/getrestoreImportList'
    },
    // 审核详情:
    getrestoreImportdetails: {
        type: 'get',
        url: url + '/RevenueRecoveryController/getrestoreImportdetails'
    },
    // 审核导入:
    restoreImport: {
        type: 'post',
        url: url + '/RevenueRecoveryController/restoreImport',
        config: {
            headers: {
                'Content-Type': 'multipart/form-data',
            }
        }
    },
    // 审核提交:
    restoreImportSubmit: {
        type: 'get',
        url: url + '/RevenueRecoveryController/restoreImportSubmit'
    },
    // monthRevenue:
    monthRevenue: {
        type: 'get',
        url: url + '/SqlReportController/monthRevenue'
    },
    // 核心分期
    getCoreStages: {
        type: 'get',
        url: url + '/incomeView/ysIndexDataHxptpt'
    },
    // ocs话单
    getBill: {
        type: 'get',
        url: url + '/BigOrderController/getBill'
    },
    // oocp订单
    getOrder: {
        type: 'get',
        url: url + '/BigOrderController/getOrder'
    },
    // 获取指标sql
    getReportSQL: {
        type: 'get',
        url: url + '/SqlReportController/getReportSQL'
    },
    // 修改sql语句
    modifySQL: {
        type: 'get',
        url: url + '/SqlReportController/modifySQL'
    },
    // 获取当前登录人历史上传数据
    getHistory: {
        type: 'get',
        url: url + '/RevenueRecoveryController/getHistory'
    },
    // 删除上传
    deleteFile: {
        type: 'get',
        url: url + '/RevenueRecoveryController/deleteFile'
    },
    // 获取所有sql集合
    getReportSQLList: {
        type: 'get',
        url: url + '/SqlReportController/getReportSQLList'
    },
    // 插入sql语句
    insertSQL: {
        type: 'get',
        url: url + '/SqlReportController/insertSQL'
    },
    // 修改sql语句
    modifySQL: {
        type: 'get',
        url: url + '/SqlReportController/modifySQL'
    },
    // 删除sql语句
    deleteSQL: {
        type: 'get',
        url: url + '/SqlReportController/deleteSQL'
    },
    // 流量监控
    getTrafficMonitoring: {
        type: 'get',
        url: url + '/BigOrderController/getTrafficMonitoring'
    },
    // 还原分析
    reductionAnalysis: {
        type: 'get',
        url: url + '/RevenueRecoveryController/reductionAnalysis'
    },
    // 波动汇总
    volatilitySummary: {
        type: 'get',
        url: url + '/WaveTOPNController/volatilitySummary'
    },
    // 日分析报表
    dailyIndex: {
        type: 'get',
        url: url + '/desk/dailyIndex'
    },
    getSMSsettlement: {
        type: 'get',
        url: url + '/settlementIncomeController/getSMSsettlement'
    },
    getVoiceSettlement: {
        type: 'get',
        url: url + '/settlementIncomeController/getVoiceSettlement'
    },
    // 政企工作台
    getGovernmentCust: {
        type: 'get',
        url: url + '/governmentCust/getGovernmentCustIncomeData'
    },
    // 流失客户
    customerChurn: {
        type: 'get',
        url: url + '/incomeView/listCustLostFee'
    },
    // 调账模块
    accountAdjustment: {
        type: 'get',
        url: url + '/incomeView/listAccountBillData'
    },
    // 码号收入多维表
    incomeCodeNumControllerMonth: {
        type: 'get',
        url: url + '/incomeCodeNumController/getMonth'
    },
    // 码号收入多维表
    incomeCodeNumControllerList: {
        type: 'get',
        url: url + '/incomeCodeNumController/listIncomeCodeNum'
    },
    // 应收账款月报表
    getListOweAccount: {
        type: 'get',
        url: url + '/oweAccount/listOweAccount'
    },
    // 应收账款月报表
    getListOweAge: {
        type: 'get',
        url: url + '/oweAccount/listOweAgeData'
    },
    // 应收账款月报表
    getListTopOweBill: {
        type: 'get',
        url: url + '/oweAccount/listTopOweBill'
    },
    //  政企团购优惠到期预警
    getListForGroupBuying: {
        type: 'get',
        url: url + '/governmentCust/listDiscountReach'
    },
    //  团购优惠
    getGroupType: {
        type: 'get',
        url: url + '/governmentCust/getDistcountType'
    },
    //  号百数据
    listCustHBResult: {
        type: 'get',
        url: url + '/governmentCust/listCustHBResult'
    },
    //  客户经理排名
    listCustOwnData: {
        type: 'get',
        url: url + '/governmentCust/listCustOwnData'
    },
    //vip视图-最大账期（年）
    getVipMaxYear: {
        type: 'get',
        url: url + '/vip/maxMonth'
    },
    //vip视图 客户经理
    getManager: {
        type: 'get',
        url: url + '/vip/getManager'
    },
    //vip视图 获取vip
    getVip: {
        type: 'get',
        url: url + '/vip/getVip'
    },
    //vip视图 获取列表数据
    getVipView: {
        type: 'get',
        url: url + '/vip/vipView'
    },
    exportVip: {
        type: 'get',
        url: url + '/vip/export'
    },
    //单号码查询
    getSingleCode: {
        type: 'get',
        url: url + '/singleCode/vipView'
    },
    //单号码导出
    exportSingleCode: {
        type: 'get',
        url: url + '/singleCode/export'
    },
    //  欠费不确认详单
    listOweConfirmBill: {
        type: 'get',
        url: url + '/oweAccount/listOweConfirmBill'
    },
    //  收入完成进度
    getIncomeProductData: {
        type: 'get',
        url: url + '/incomeAnalysis/getIncomeProductData'
    },
    //  收入完成进度
    getSubIncome: {
        type: 'get',
        url: url + '/gatherData/monthData'
    },
    //  收入完成进度
    getTopDetail: {
        type: 'get',
        url: url + '/WaveTOPNController/getDetails'
    },
    //  欠费钻取
    getOwnInfo: {
        type: 'get',
        url: url + '/oweAccount/listOweConfirmBill'
    },
    //  总欠费不确认钻取
    getOwnInfoTop: {
        type: 'get',
        url: url + '/oweAccount/listOweConfirmBillTop'
    },
    //  分产品 帐期
    getAnalysizTime: {
        type: 'get',
        url: url + '/TrendIncomeTrack/getMaxAcctMonthByPro'
    },
    //  分产品 帐期
    getAnalysizData: {
        type: 'get',
        url: url + '/TrendIncomeTrack/findIncomeByProduct'
    },
    //  分产品 趋势
    getAnalysizTrend: {
        type: 'get',
        url: url + '/TrendIncomeTrack/findIncomeByProductTrend'
    },

    fetchMonthTrack: {
        type: 'get',
        url: url + '/mhTrack/monthTrack'
    },
    fetchMhGetMonth: {
        type: 'get',
        url: url + '/mhTrack/getMonth'
    },
    fetchMhTrackDay: {
        type: 'get',
        url: url + '/mhTrack/getDay'
    },
    fetchDayTrack: {
        type: 'get',
        url: url + '/mhTrack/dayTrack'
    },
    fetchCsTrack: {
        type: 'get',
        url: url + '/mhTrack/csTrack'
    },
    fetchZqTrack: {
        type: 'get',
        url: url + '/mhTrack/zqTrack'
    },
    dayDrill: {
        type: 'get',
        url: url + '/mhTrack/dayDrill'
    },

    /* 一次性费用调整 */
    oneAdjustmentListLog: {
        type: 'get',
        url: url + '/oneAdjustment/listLog'
    },
    oneAdjustmentListData: {
        type: 'get',
        url: url + '/oneAdjustment/listData'
    },
    oneAdjustmentImport: {
        type: 'post',
        url: url + '/oneAdjustment/import'
    },


    //欠费账龄日报表-账期
    getMaxAgeMonthDay: {
        type: 'get',
        url: url + '/receivable/maxAgeMonthDay'
    },
    //欠费账龄日报表-查询
    listOweAgeDataDay: {
        type: 'get',
        url: url + '/receivable/listOweAgeDataDay'
    },
};
const $ajax = ajaxSet(api);
export default $ajax;
